package com.hanj.gulimall.coupon;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * The type Gulimall coupon application.
 * 注解EnableDiscoveryClient作用: 能够让注册中心能够发现，并扫描到服务
 *
 * @author hanj.cn @outlook.com
 */
@SpringBootApplication
@EnableDiscoveryClient
public class GulimallCouponApplication {

    /**
     * The entry point of application.
     *
     * @param args the input arguments
     */
    public static void main(String[] args) {

        SpringApplication.run(GulimallCouponApplication.class, args);
    }

}
